tools: follow constness change in icc parsing error handling
authorØyvind Kolås <pippin@gimp.org>
Sun, 3 Sep 2017 13:09:57 +0000 (15:09 +0200)
committerØyvind Kolås <pippin@gimp.org>
Sun, 3 Sep 2017 13:10:12 +0000 (15:10 +0200)
tools/babl-icc-rewrite.c

index af9d46e667c73d92aed32877713d70188943892c..1d292b4461ded5546eee475dfc87222acfc4f7b8 100644 (file)
@@ -35,7 +35,7 @@ main (int    argc,
   char *icc_data = NULL;
   long  icc_len;
   int genlen;
-  char *error = NULL;
+  const char *error;
   babl_init ();
 
   if (!argv[1] || !argv[2])